package dreamdancetiktokenumsmymongo

const (
	TypeActivitiesRalo        = 1 //光环
	TypeActivitiesWings       = 2 //翅膀
	TypeActivitiesScore       = 3 //欢乐值
	TypeActivitiesRHand       = 4 //右手持
	TypeActivitiesPelvisWorld = 5 //腰挂载

	//a:0 s；1 b:2
	TagS = 1 //s
	TagA = 2 //a
	TagB = 3 //b
)

type DanceActivitiesDrawPrizeUserLogAllEnums struct {
}

var DanceActivitiesDrawPrizeUserLogAllEnumsObject DanceActivitiesDrawPrizeUserLogAllEnums

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivities() []int {
	return []int{
		TypeActivitiesRalo,
		TypeActivitiesWings,
		TypeActivitiesRHand,
		TypeActivitiesScore,
		TypeActivitiesPelvisWorld,
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivitiesMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.TypeActivities() {
		m[s] = s
	}
	return m
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivitiesString(tag int) string {
	switch tag {
	case TypeActivitiesRalo:
		return "光环" //
	case TypeActivitiesWings:
		return "翅膀" //
	case TypeActivitiesScore:
		return "欢乐值" //
	case TypeActivitiesRHand:
		return "右手持" //
	case TypeActivitiesPelvisWorld:
		return "腰挂载" //
	default:
		return "未知"
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) Tag() []int {
	return []int{
		TagA,
		TagS,
		TagB,
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TagMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.Tag() {
		m[s] = s
	}
	return m
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TagString(tag int) string {
	switch tag {
	case TagA:
		return "a" //
	case TagS:
		return "s" //
	case TagB:
		return "b" //
	default:
		return ""
	}
}
